//
//  LWBTabBarViewController.m
//  电子书阅览器
//
//  Created by apple on 16/12/8.
//  Copyright © 2016年 LWB. All rights reserved.
//

#import "LWBTabBarViewController.h"
#import "LWBNavigationViewController.h"
#import "MinInterfaceViewController.h"
@interface LWBTabBarViewController ()

@end

@implementation LWBTabBarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    MinInterfaceViewController *min = [[MinInterfaceViewController alloc]init];
    LWBNavigationViewController *nav= [[LWBNavigationViewController alloc]initWithRootViewController:min];
    nav.title = @"追书";
    NSMutableDictionary *dict = [NSMutableDictionary dictionary];
    [dict setObject:[UIColor blueColor] forKey:NSForegroundColorAttributeName];
    [nav.tabBarItem setTitleTextAttributes:dict forState:UIControlStateSelected];
    [self addChildViewController:nav];
    self.view.backgroundColor = [UIColor redColor];
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
